package request

import (
	"gorm.io/gorm"
)

type Paper struct {
	gorm.Model
	MagazineName   string   `json:"magazineName"`
	PaperName      string   `json:"paperName"`
	PaperCategory  string   `json:"paperCategory"`
	UserId         uint     `json:"userid"`
	PaperAuthors   string   `json:"paperAuthors"`
	Year           int      `json:"year"`
	PaperFileList  []string `json:"paperFile"`
	PaperLevelList []string `json:"paperLevel"`
	PaperRoleList  []string `json:"paperRole"`
}

type PaperSearchInfo struct {
	PaperAuthors string `json:"paperAuthors" form:"paperAuthors"`
	PaperName    string `json:"paperName" form:"paperName"`
	Level        string `json:"paperLevel" form:"paperLevel"`
	Category     string `json:"paperCategory" form:"paperCategory"`
	Year         string `json:"year" form:"year"`
	PageInfo
}
